<script>
export default {
  name: 'PageHeader'
}
</script>

<template>
  <div class="page-header">
    <slot />
    <div class="action-bar">
      <div class="left">
        <slot name="left"></slot>
      </div>
      <div class="right">
        <slot name="right"></slot>
      </div>
    </div>
  </div>

</template>

<style scoped lang="scss">
.action-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom:10px ;
  .el-button{
    margin: 0;
  }
  .left{
    display: flex;
    gap: 6px;
  }
  .right{
    display: flex;
    gap: 8px;
  }
}
</style>